import {NgModule} from '@angular/core';
import {IonicPageModule} from "ionic-angular";
import {HomeTitleComponent} from './pages/home/home-title/home-title';
import {AdpCalendarMonthComponent} from './common/adp-calendar-month/adp-calendar-month.component';
import {ClientListOptionComponent} from './pages/client/client-list-option/client-list-option';
import {Geolocation} from '@ionic-native/geolocation';
import {AdpMap} from './adp-map/adp-map';
import {AdpLazyloadComponent} from "./common/adp-lazyload/adp-lazyload.component";
import {AdpPolicyItemComponent} from './common/adp-policy-item/adp-policy-item';
import {RosterListComponent} from "./pages/activity/activity-detail/roster-list.component";
import {ClientFilterComponent} from './pages/client/client-filter/client-filter.component';
import {TimeFilterComponent} from './common/time-filter/time-filter';
import {PipesModule} from "../pipes/pipes.module";
import {ClientDetailProgressComponent} from './pages/client/client-detail/client-detail-progress/client-detail-progress.component';
import {AdpMenuComponent} from "./common/adp-menu/adp-menu.component";
import {AdpMediaAudioComponent} from './common/adp-media-audio/adp-media-audio.component';
import {AdpVoicePlayerComponent} from './common/adp-voice-player/adp-voice-player.component';
import {AdpRelateScheduleComponent} from './common/adp-relate-schedule/adp-relate-schedule.component';
import {EndlessListComponent} from './common/endless-list/endless-list';
import {RosterCardComponent} from "./pages/activity/roster-card/roster-card.component";
import {AdpMenuController} from "./common/adp-menu/adp-menu.controller";
import {ClientListItemComponent} from './pages/client/client-list-item/client-list-item';
import {AdpActionSheetComponent} from "./common/adp-action-sheet/adp-action-sheet.component";
import {RosterDetailActivityComponent} from "./pages/activity/roster-detail/roster-detail-activity.component";

@NgModule({
    declarations: [
        HomeTitleComponent,
        AdpCalendarMonthComponent,
        ClientListOptionComponent,
        AdpMap,
        AdpLazyloadComponent,
        AdpPolicyItemComponent,
        RosterListComponent,
        ClientFilterComponent,
        TimeFilterComponent,
        ClientDetailProgressComponent,
        AdpMenuComponent,
        AdpMediaAudioComponent,
        AdpVoicePlayerComponent,
        AdpRelateScheduleComponent,
        EndlessListComponent,
        RosterCardComponent,
        ClientListItemComponent,
        AdpActionSheetComponent,
        RosterDetailActivityComponent
    ],
    imports: [
        IonicPageModule.forChild(ComponentsModule),
        PipesModule
    ],
    exports: [
        HomeTitleComponent,
        AdpCalendarMonthComponent,
        ClientListOptionComponent,
        AdpMap,
        AdpLazyloadComponent,
        AdpPolicyItemComponent,
        RosterListComponent,
        ClientFilterComponent,
        TimeFilterComponent,
        ClientDetailProgressComponent,
        AdpMenuComponent,
        AdpMediaAudioComponent,
        AdpVoicePlayerComponent,
        AdpRelateScheduleComponent,
        EndlessListComponent,
        RosterCardComponent,
        ClientListItemComponent,
        AdpActionSheetComponent,
        RosterDetailActivityComponent
    ],
    providers: [
        Geolocation,
        AdpMenuController
    ]
})
export class ComponentsModule {
}
